<template>
  <div class="home">
    Home页面
    <button @click="sumbit">提交</button>
  </div>
</template>

<script setup>
import { reactive } from 'vue';
import API from '../utils/api';

const userInfo = reactive({
  username: '',
  password: ''
})

const sumbit = () => {
  // API.getData('/getData');
  setTimeout(() => {
    localStorage.removeItem('token');
  }, 5000);
}
</script>

<style>

</style>